function Weapon(id, hero)
{
    this.id = id;
    this.hero = hero;
    this.type = null;
    //TODO sprite pour weapons ?
    this.img = null;

    this.cost = null;
}

function Fork(id, hero) {
    Weapon.call(this, id, hero);

    this.type = WEAPONS.FORK;

    this.cost = 0;
}
    Fork.prototype = new Weapon();
    Fork.prototype.constructor = Fork;

function Baseball_bat(id, hero) {
    Weapon.call(this, id, hero);

    this.type = WEAPONS.BASEBALL_BAT;

    this.cost = 150;
}
    Baseball_bat.prototype = new Weapon();
    Baseball_bat.prototype.constructor = Baseball_bat;

function Chainsaw(id, hero) {
    Weapon.call(this, id, hero);

    this.type = WEAPONS.CHAINSAW;

    this.cost = 150;
}
    Chainsaw.prototype = new Weapon();
    Chainsaw.prototype.constructor = Chainsaw;

function Ak47(id, hero) {
    Weapon.call(this, id, hero);

    this.type = WEAPONS.AK47;

    this.cost = 1000;
}
    Ak47.prototype = new Weapon();
    Ak47.prototype.constructor = Ak47;